#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
void caesar(char* str)
{
	int i = 0;
	while (str[i] != '\0')
	{
		if (str[i] >= 'A' && str[i] < 'V')
		{
			str[i] = str[i] + 5;
		}
		else if (str[i] >= 'V' && str[i] <= 'Z')
		{
			str[i] = str[i] - 21;
		}
		else if (str[i] >= 'a' && str[i] < 'v')
		{
			str[i] = str[i] + 5;
		}
		else if (str[i] >= 'v' && str[i] <= 'z')
		{
			str[i] = str[i] - 21;
		}
		i++;
	}
}
int main()
{
	char arr[100];
	while (gets(arr) != NULL)
	{
		caesar(arr);
		printf("%s\n", arr);
	}

	return 0;
}